package com.example.hxds.bff.driver.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author XUYANG
 * @Date 2024-03-09 10:42
 */
@Data
@Schema(description = "新司机注册表单")
public class RegisterNewDriverForm {
    @NotBlank(message = "授权不能为空")
    @Schema(description = "微信小程序临时授权")
    private String code;
    @NotBlank(message = "昵称不能为空")
    @Schema(description = "用户昵称")
    private String nickname;
    @NotBlank(message = "头像不能为空")
    @Schema(description = "用户头像")
    private String photo;
}
